package com.sise.cn.utils;

import com.alibaba.fastjson.JSONArray;
import lombok.Data;
import lombok.ToString;

@Data
@ToString
public class LoginAccountInfo {
    public static final int TOKEN_INVALID = -1;
    public static final int CALL_CAN_USE = 1;
    public static final int CALL_NOT_INIT_SUCCESS = 2;
    public static final int CALL_NOT_ACTIVE = 3;

    private String openId;

    private int accountStatus;

    private String socketId;

    private String token;

    private String userName;

    private String nickName;

    private String avatar;

    private Long userId;

    private int companyId;

    private Integer bid;

    private String businessName;

    private int productId;

    private String dbNameAndTblPrefix;

    private long buildTimestamp;

    private String dbName;

    private JSONArray menus;
}
